﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Infrastructure.Domain.VO.SysVehicle.VehicleState
{ 
    public class robot_status_jack_VO
    {
        /// <summary>
        /// 顶升机构是否急停, false = 未急停,  true = 急停
        /// </summary>
        public bool jack_emc { get; set; }
        /// <summary>
        /// 顶升是否启用, false = 未启用, true = 启用
        /// </summary>
        public bool jack_enable { get; set; }
        /// <summary>
        /// 顶升错误码
        /// </summary>
        public double jack_error_code { get; set; }
        /// <summary>
        /// 顶升当前的高度，单位: m
        /// </summary>
        public double jack_height { get; set; }
        /// <summary>
        /// 顶升机构上是否有料, false = 无料, true = 有料
        /// </summary>
        public bool jack_isFull { get; set; }
        /// <summary>
        /// 运行模式, false = 手动, true = 自动
        /// </summary>
        public bool jack_mode { get; set; }
        /// <summary>
        /// 顶升机构电机速率, 单位: mm/s
        /// </summary>
        public double jack_speed { get; set; }
        /// <summary>
        /// 运行状态,  0x00 = 上升中，0x01 = 上升到位，0x02 = 下降中，0x03 = 下降到位，0x04 = 停止，0xFF = 执行失败
        /// </summary>
        public double jack_state { get; set; }
        /// <summary>
        /// 外设中的用户自定义数据
        /// </summary>
        public List<string> peripheral_data { get; set; } 
    }
}
